package com.roc.steelend.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.math.BigInteger;

/**
 * 采购销账细节表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "write_off_buy_detail")
public class WriteOffBuyDetail {

    @TableId(type = IdType.AUTO)
    private Integer writeOffBuyDetailId;
    @JsonSerialize(using = ToStringSerializer.class)
    private BigInteger buyOrderId;
    @JsonSerialize(using = ToStringSerializer.class)
    private BigInteger accountId;
    private BigDecimal getMoney;
    private Integer moLingTou;

}
